﻿using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ACServerApi.Hubs
{
    [HubName("Server")]
    public class ServerHub : Hub
    {
        public void Send(string name, string message)
        {
            Clients.All.addMessage(name, message);
        }

        public void NotifyAll(string message) 
        {
            Clients.All.notify(message);
        }
    }
}